草庐IT

安装docker、docker engine和docker desktop区别

全部标签

php - 将 Docker 容器连接到远程 MySQL 数据库

我正在运行Docker的Windows10环境中并行开发Laravel和遗留PHP应用程序。对于遗留的PHP应用程序,我想将开发转移到Docker容器内,但是,我似乎无法让PHP应用程序连接到本地网络上不同Ubuntu服务器上的MySQL数据库。我使用Laradock来简化此类开发环境的docker容器镜像和设置。这是我的设置:Windows10主机(IP:172.19.0.200)--本地未安装MySQL服务器UbuntuMySQL服务器(IP:172.19.0.16)TeamSQL(MySQL客户端)Windowscmd控制台中ipconfig的结果:Ethernetadapter

windows - 如何编辑 Linux 容器配置并在 Docker Windows 中观察它的哈希值?

我在Windows上安装了Docker。它已切换到SwitchedtoLinuxcontainers。当我在我的控制台中输入:dockerinspecte3a934c54979我看到一条信息:[{..."Image":"sha256:2359fa12fdedef2af79d9b836a26175808d4b1433b5e7022d2d73c72b2a43b60","ResolvConfPath":"/var/lib/docker/containers/e3a934c549799d9ec45d65ad6aa73bba8fad924215087a9c9c60535ef2a5c2e8/res

android - 模拟器之间的区别

我创建了一个虚拟设备Nexus_5X_API_27_x86。通过AndroidStudio运行它运行良好。我添加了ANDROID_HOME以指向C:\Users\USERNAME\AppData\Local\Android\Sdk,因为Appium需要定义它。和%ANDROID_HOME%\tools;根据https://developer.android.com/studio/run/emulator-commandline.html到PATH它在那里使用模拟器可执行文件(至少在MacOS上)。但如果我运行那个模拟器,它会出现panic:PSD:\AppiumTest>emulato

windows - 在 Windows 7 上安装 Cassandra

我在Windows7上为运行Cassandra做了以下操作:已安装Python。从原始站点下载了Cassandra的zip。在执行cassandra批处理时收到以下消息:Exceptioncalling"Start"with"0"argument(s):"Thesystemcannotfindthefilespecified"AtE:\apache-cassandra-3.11.2\conf\cassandra-env.ps1:212char:5+$p.Start()|Out-Null+~~~~~~~~~~~~~~~~~~~~~+CategoryInfo:NotSpecified:(:

python - 在 Windows 上安装 PyUblas

我正在尝试在我的Windows机器上安装PyUblas。我有VisualStudio2017社区版。我试过使用安装pipinstallpyublas但是得到如下错误信息:C:\ProgramFiles(x86)\MicrosoftVisualStudio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX86\x86\cl.exe/c/nologo/Ox/W3/GL/DNDEBUG/MD-Ipyublas/include"-Ic:\users\myname\appdata\local\programs\python\python36-3

windows - Docker 无法在 Windows 10 上启动

Docker在Windows10Enterprise上一直存在间歇性问题。当机器重新启动时,Docker有时会启动,但并非总是如此。如果它没有启动,我会终止Docker进程并通过转到菜单项“DockerforWindows”手动重新启动它。但这永远不会启动Docker。在检查日志文件时,该进程似乎“卡住了”。这是日志文件的尾部:[21:40:07.907][PowerShell][Info]Runscriptwithparameters:-CreateTrue-VhdPathOverride-VhdSize64424509440-SwitchSubnetAddress10.0.75.0

windows - 无法安装 cargo-tree : couldn't determine visual studio generator

我正在尝试在我的Windows机器上安装cargo-tree。它使用Windows10,VisualStudio构建工具15。这是我活跃的rustup工具链:activetoolchain----------------stable-x86_64-pc-windows-msvc(default)rustc1.26.0(a775680412018-05-07)运行cargoinstallcargo-tree时,构建失败。构建日志以以下结尾:error:failedtoruncustombuildcommandfor`libssh2-sysv0.2.7`processdidn'texits

python - 使用 anaconda 在 Windows 10 上安装 fasttext

我正在尝试使用以下命令在Windows10的anaconda中安装fasttext:pipinstallfasttext如下所述:https://pypi.org/project/fasttext/错误信息是:ValueError:UnknownMSCompilerversion1900和Command"c:\users\nicol\anaconda3\python.exe-u-c"importsetuptools,tokenize;__file__='C:\\Users\\nicol\\AppData\\Local\\Temp\\pip-install-pd0xqmlg\\fastt

windows - pipenv 在安装依赖项时找不到模块 'runpy'

C:\Users\danie01\fox\test\robotframework>pipenvinstallInstallingdependenciesfromPipfile.lock(49d163)...Anerroroccurredwhileinstallingrobotframework-seleniumlibrary==3.1.0!Willtryagain.Anerroroccurredwhileinstallingselenium==3.9.0!Willtryagain.Anerroroccurredwhileinstallingrobotframework==3.0.2!W

windows - Windows 上的 Docker : Error processing tar file(exit status 1): write/app/wiki. de.bin:设备上没有剩余空间

我正在尝试通过DockerFile添加一个.bin文件(名称wiki.de.bin)到docker。当我尝试构建它时,我收到一条错误消息:Errorprocessingtarfile(exitstatus1):write/app/wiki.de.bin:nospaceleftondevice.我已经完成了dockersystemprune以及dockervolumels-qfdangling=true,但是它没有帮助。我该怎么办?我正在使用具有Hyper-V的Windows10家庭版。这里是相关的系统信息。这与我只有6.42GB可用虚拟内存有什么关系吗?如果是,我该如何解决这个问题?